'use strict';
exports.main = async (event, context) => {
     const db = uniCloud.database();
    const res = await db.collection('home-setting').get();
    return res.result.data.length > 0 ? res.result.data[0] : {};
};